<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
	</head>
	<body>
		<script>
			// 接收用户输入的字母，并判断是不是元音字母。
			let word = window.prompt('请输入一个字母');
			if (word === 'a' || word === 'e' || word === 'i' || word === 'o' || word === 'u' || word === 'A' || word === 'E' ||
				word === 'I' || word === 'O' || word === 'U') {
				console.log('是元音字母');
			} else {
				console.log('不是元音字母');
			}
		</script>
	</body>
</html>
